package com.asiainfo.work.dao.master;

import com.asiainfo.work.entity.UserGroup;
import com.asiainfo.work.entity.UserMergeCode;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author: bf
 * @date: 2021/1/4-10:34
 */
@Mapper
public interface MergeDao extends BaseMapper<UserMergeCode> {
    /**
     * 批量保存 UserMergeCode对象
     * @param list UserMergeCodeList
     */
    void batchInsert(List<UserMergeCode> list);

    List<UserMergeCode> query(@Param("startTime") String startTime,@Param("endTime") String endTime,
            @Param("accountList") List<String> accountList, IPage page);
    /**
     * 查询用户信息
     */
    List<UserGroup> queryUserList();
}
